#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>
#include<assert.h>

typedef struct Node
{
	int data;
	struct Node* LChild, * RChild;
} Bitree;

void BitreeSwap(Bitree * bt)
{
	assert(bt != NULL);
	Bitree* temp = bt->LChild;
	bt->LChild = bt->RChild;
	bt->RChild = temp;
	BitreeSwap(bt->LChild);
	BitreeSwap(bt->RChild);
}